package com.yl.ydk.presenter.contract

import android.content.Context
import androidx.recyclerview.widget.RecyclerView
import com.yl.ydk.base.BaseContract
import com.yl.ydk.ui.activity.TestPapersActivity
import com.scwang.smart.refresh.layout.SmartRefreshLayout
import okhttp3.RequestBody

class TestPapersContract {

    interface View : BaseContract.BaseView {

        fun getRvTest(): RecyclerView
        fun getActivity(): TestPapersActivity
        fun getSmartRefreshLayout(): SmartRefreshLayout

    }

    interface Presenter<T> :
        BaseContract.BasePresenter<T> {
        fun getTestPapers(context: Context, body: RequestBody?, loadMore: Boolean)
    }

}